home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!jaba
- Date: Thu, 11 Jan 96 19:00:21 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: SetAttrsA() with BGUI
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: jaba@grafix.xs4all.nl (Jan Van.den.baard)
- Message-ID: <jaba.45so@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- Hello Daniel,
- In a message of 09 Jan 96 you wrote to me about SetAttrsA() with BGUI:
-
- DA> From: m-29431@mailbox.swipnet.se (Daniel Adolfsson)
-
- DA> I'm working on a program in Amiga-E using the BGUI.library.
-
- DA> My problem I have is that the following line doesn't update the
- DA> checkbox
- DA> (making it selected and disabled) until I resize the window or put it
- DA> behind another window and then to front again (i.e. when it gets
- DA> refreshed):
-
- DA> SetAttrsA(chk_intl,[GA_SELECTED,1,GA_DISABLED,1,TAG_END])
-
- Make this:
-
- SetGadgetAttrsA(chk_intl, win ,NIL,
- [GA_SELECTED,1,GA_DISABLED,1,TAG_END])
-
- Where 'win' points to the result as returned by the WindowOpen() macro,
- not the window object itself.
-
- DA> Have tried SetGadgetAttrsA() too..
-
- It works so you probably made a mistake.
-
- Bye,
-
- Jan van den Baard
-
- Fido: 2:286/407.53 (Jan van.den.Baard)
- EMail: jaba@grafix.xs4all.n
- -- Via Xenolink 1.981, XenolinkUUCP 1.1
-